package com.st.core.entity.constant;

/**
 * @author shent
 */
public interface ErrorConstants {

    /**
     * 用户管理
     */
    String ERROR_USER_ALREADY_EXIST = "error_user_already_exist";
    String ERROR_USERNAME_PASSWORD_NOT_MATCH = "error_username_password_not_match";
    String ERROR_USER_DISABLED = "error_user_disabled";
    String ERROR_USER_HAS_NO_ABILITY = "error_user_has_no_ability";
    String ERROR_LOGIN_PARAMS = "ERROR_LOGIN_PARAMS";
    String ERROR_USER_NO_PERMISSION = "error_user_no_permission";
    String ERROR_USER_NOT_LOGIN = "error_user_not_login";
    String ERROR_ADMIN_USER_FORBID_DELETE = "error_admin_user_forbid_delete";
    String ERROR_USER_LOCKED = "error_account_locked";
    String ERROR_PASSWORD_SIMPLE = "error_password_simple";

    /**
     * 角色管理
     */
    String ROLE_ALREADY_EXIST = "role_already_exist";
    /**
     * 部门管理
     */
    String DEPARTMENT_ALREADY_EXIST = "department_already_exist";

    /**
     * 文件管理
     */
    String FILE_ALREADY_EXIST = "file_already_exist";
}
